package mspbots.cw.business.core.schedule;

import lombok.*;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Table("task_cw_ticket_schedule")
public class Schedule extends BaseTenantEntity {

    private Long cwId;
    private Long cwUid;
    private String name;
    private Long ticketId;
    private Long typeId;
    private String typeName;
    private Boolean doneFlag;
    private String identifier;
    private LocalDateTime dateStart;
    private Boolean acknowledgedFlag;
    private LocalDateTime syncTime;

    private String memberName;
    private LocalDateTime dateEnd;
    private LocalDateTime dateEntered;
    private Integer hours;
}
